package mrusanov.ui.stats

import javax.swing.JPanel


class TreeNode(val label:String, val children:List[TreeNode]) {
  override def toString = label
}
class TreeLeaf(label:String, _panel: => JPanel) extends TreeNode(label, Nil) {
  def panel = _panel
}
